package com.wesley;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Hello world!
 */
//@EnableEurekaClient --eureka


@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
public class TestServer1Application {
    public static void main(String[] args) {
        SpringApplication.run(TestServer1Application.class);
    }

//    @Bean
//    @ConfigurationProperties(prefix = "spring.datasource")
//    public DataSource dataSource() {
//        DruidDataSource druidDataSource = new DruidDataSource();
//        return druidDataSource;
//    }

}
